package org.jeecg.modules.maintain.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备维修表
 * @Author: jeecg-boot
 * @Date:   2022-12-14
 * @Version: V1.0
 */
@Data
@TableName("camellia_device_repair")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="camellia_device_repair对象", description="设备维修表")
public class CamelliaDeviceRepair implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**报修号*/
    @Excel(name = "报修号", width = 15)
    @ApiModelProperty(value = "报修号")
    private String reportCode;
    /**报修id*/
    @Excel(name = "报修id", width = 15)
    @ApiModelProperty(value = "报修id")
    private String reportId;
    /**报修开始日期*/
    @Excel(name = "报修开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报修开始日期")
    private Date reportTime;
    /**维修号*/
    @Excel(name = "维修号", width = 15)
    @ApiModelProperty(value = "维修号")
    private String repairCode;
    /**维修人员*/
    @Excel(name = "维修人员", width = 15)
    @ApiModelProperty(value = "维修人员")
    private String userIds;
    /**维修完成日期*/
    @Excel(name = "维修完成日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "维修完成日期")
    private Date repairTime;
    /**问题描述*/
    @Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private String problemDesc;
    /**解决方案*/
    @Excel(name = "解决方案", width = 15)
    @ApiModelProperty(value = "解决方案")
    private String solution;
    /**图片*/
    @Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private String image;
    /** 描述*/
    @Excel(name = " 描述", width = 15)
    @ApiModelProperty(value = " 描述")
    private String descibles;
    /** 状态*/
    @Excel(name = " 状态", width = 15)
    @ApiModelProperty(value = " 状态")
    private String state;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /** 是否删除*/
    @Excel(name = " 是否删除", width = 15)
    @ApiModelProperty(value = " 是否删除")
    private String isDeleted;
}
